import { Injectable, Optional } from "@angular/core";

export class ApplicationConfiguration {
  constructor() {}
}

@Injectable()
export class ApplicationService {
  constructor(@Optional() config: ApplicationConfiguration) {
    this.startUp(config);
  }

  private startUp(config: ApplicationConfiguration) {
    // TODO: add application init operations here
  }
}
